/**
 * Login.css - 登录页面样式
 */

.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.auth-card {
    max-width: 450px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.auth-header p {
    color: #666;
    font-size: 14px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    height: 48px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0 15px;
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.15);
}

.btn-login {
    height: 48px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    margin-top: 20px;
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #ddd;
}

.divider span {
    position: relative;
    background: #fff;
    padding: 0 15px;
    color: #999;
    font-size: 14px;
}

.social-login {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-btn {
    flex: 1;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.social-btn:hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transform: translateY(-2px);
}

.form-check {
    margin-bottom: 20px;
}

.text-link {
    color: var(--bs-primary);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

.alert {
    border-radius: 8px;
    margin-bottom: 20px;
}
